from django.contrib import admin

# Register your models here.
from .models import Products
class ProductsAdmin(admin.ModelAdmin):
	list_display = ('__unicode__','slug')
	prepopulated_fields={'slug':['name']}
	class Meta:
		models = Products

admin.site.register(Products,ProductsAdmin)